package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Courses10Mapper;
import com.ruoyi.system.domain.Courses10;
import com.ruoyi.system.service.ICourses10Service;

/**
 * 课程表10Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Courses10ServiceImpl implements ICourses10Service 
{
    @Autowired
    private Courses10Mapper courses10Mapper;

    /**
     * 查询课程表10
     * 
     * @param courseId 课程表10主键
     * @return 课程表10
     */
    @Override
    public Courses10 selectCourses10ByCourseId(Long courseId)
    {
        return courses10Mapper.selectCourses10ByCourseId(courseId);
    }

    /**
     * 查询课程表10列表
     * 
     * @param courses10 课程表10
     * @return 课程表10
     */
    @Override
    public List<Courses10> selectCourses10List(Courses10 courses10)
    {
        return courses10Mapper.selectCourses10List(courses10);
    }

    /**
     * 新增课程表10
     * 
     * @param courses10 课程表10
     * @return 结果
     */
    @Override
    public int insertCourses10(Courses10 courses10)
    {
        return courses10Mapper.insertCourses10(courses10);
    }

    /**
     * 修改课程表10
     * 
     * @param courses10 课程表10
     * @return 结果
     */
    @Override
    public int updateCourses10(Courses10 courses10)
    {
        return courses10Mapper.updateCourses10(courses10);
    }

    /**
     * 批量删除课程表10
     * 
     * @param courseIds 需要删除的课程表10主键
     * @return 结果
     */
    @Override
    public int deleteCourses10ByCourseIds(Long[] courseIds)
    {
        return courses10Mapper.deleteCourses10ByCourseIds(courseIds);
    }

    /**
     * 删除课程表10信息
     * 
     * @param courseId 课程表10主键
     * @return 结果
     */
    @Override
    public int deleteCourses10ByCourseId(Long courseId)
    {
        return courses10Mapper.deleteCourses10ByCourseId(courseId);
    }
}
